<template>
  <div class="h-panel">
    <PaasIndexBar></PaasIndexBar>
    <PaasPageTable :columns="columns" :checkbox="true"></PaasPageTable>
  </div>
</template>

<script>

export default {
  mounted() { },
  data() {
    return {
      columns: [
        { title: "所属项目", prop: "projectId" },
        { title: "表名称", prop: "modularId" },
        { title: "功能名称", prop: "modularName" },
        { title: "创建人", prop: "crtOpr" },
        { title: "创建时间", prop: "crtTs" },
      ],
    };
  },
  methods: {
    del(data) {
      console.log(data)
      let id = "";
      for (let i = 0; i < data.length; i++) {
        let s = "&"
        if (i == 0) {
          s = "";
        }
        id = id + s + data[i].id
      }
      this.$store.dispatch("deleteEvent", { _this: this, id: id });
    }
  },
};
</script>
